package com.aaa.system.service;

import com.aaa.entity.DictData;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface DictDataService {

    Result<List<DictData>> findByType(String type);

    Result<String> findDDByDictId(Long dictId);

    Result<IPage<DictData>> findAllTypeData(Long current, Long size, DictData dictData);

    Result<Boolean> saveOrDictData(DictData dictData);

    Result<Boolean> delDictData(Long[] dictCodes);
}
